﻿using LoadingForm.Properties;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace CommonUserControl
{
    public partial class LoadingForm : Form
    {
        public LoadingForm(Form form = null, string Caption = "程序正在处理", string Description = "请稍后 ...")
        {
            InitializeComponent();
            this.pB_LoadingGif.Image = Resources.loading;
            this.l_Caption.Text = Caption;
            this.l_Description.Text = Description;
            //if (form != null)
            //{
                this.StartPosition = FormStartPosition.CenterScreen;
            //}
            
        }
    }
}
